Samples

All samples given will use a local sql server database only the DataAccess Methods will be shown

public class ExampleReadDataAsExecuteListOf : SqlServerDataAccess
{
    public ExampleReadDataAsExecuteListOf() : base(
        new DataAccessConfig("SampleConfig", new DataAccessConfigOptions { ConnectionStringKey = "notused" },
            new HardCodedConnectionStringsResolver("Server=(localdb)\\MSSQLLocalDB;Integrated Security = true"))
    )
    {

    }

    //... Methods in the samples
}
  1. Simple Select
  2. Simple Select With Parameters
  3. Simple Single Row
  4. Simple Single Value
  5. Simple Single Value